import os
from dotenv import load_dotenv

load_dotenv()


class Settings:
    """
    项目配置类
    """

    BASE_DIR = os.path.dirname(os.path.abspath(__file__))
    # 拼接日志目录路径
    LOG_DIR = os.path.join(BASE_DIR, os.getenv("LOG_DIR", "data/logs"))


setting = Settings()
